# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=caerbannog
pkgver=0.3
pkgrel=1
pkgdesc="mobile-friendly Gtk frontend for password-store"
url="https://git.sr.ht/~craftyguy/caerbannog"
# s390x and riscv64 blocked by rust -> libhandy1
arch="all !s390x !riscv64"
license="GPL-3.0-or-later"
depends="
	libhandy1
	pinentry-gnome
	py3-anytree
	py3-fuzzyfinder
	py3-gobject3
	py3-gpgme
	"
makedepends="
	glib-dev
	meson
	"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~craftyguy/caerbannog/archive/$pkgver.tar.gz"
options="!check"  # no tests

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install -C output
}

sha512sums="0174b0be631d1b2bfce3354ee6fdb6ac5308596193d003baeba068a384d71374a710f9072ec7e67fcf4fdc6e383e578050592374707c756a05abc1012a2dac1e  caerbannog-0.3.tar.gz"
